﻿using BHan.Model.Entity.Pojo;
using BHan.Repository.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BHan.Repository.IRepository
{
    public interface IMenuRepository:IGenericService<MenuModel>
    {
        List<MenuModel> GetMenuList(string searchText);

        /// <summary>
        /// 获取状态正常的菜单栏数据
        /// </summary>
        /// <returns></returns>
        List<MenuModel> GetNormalMenuList();

        /// <summary>
        /// 根据Id 获取菜单数据
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        MenuModel GetMenuModelById(int id);
    }
}
